{% extends 'admin/master.html' %}
{% from "security/_macros.html" import render_field, render_field_with_errors, render_checkbox_field %}
{% include "security/_messages.html" %}
{% block body %}
{{ super() }}
<br><br><br><br><br>
<section class="content">
    <div class="col-sm-8 col-sm-offset-2">
        <div class="well">
                <h1>登陆</h1>
            <form action="{{ url_for_security('login') }}" method="POST" name="login_user_form">
                
                {{ login_user_form.hidden_tag() }}   
                {{ render_field_with_errors(login_user_form.email) }}
                {{ render_field_with_errors(login_user_form.password) }}
                {{ render_checkbox_field(login_user_form.remember) }}
                {{ render_field(login_user_form.next) }}
                {{ render_field(login_user_form.submit, class="btn btn-primary") }}
                
            </form>
            <p>还没有帐号？请点击 <a href="{{ url_for('security.register') }}">注册</a>.</p>
        </div>
    </div>
</section>
<br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br>
{% endblock body %}